package com.power.dao;

import com.power.ov.ResultData;
import com.power.ov.ResultDataTable;
import com.power.pojo.Defecttype;
import com.power.pojo.Sovle;
import com.power.pojo.Users;

import java.sql.SQLException;

/**
 * Created/**
 * Created with IntelliJ IDEA.
 * User: lh
 * Date: 2020/10/03 14:46
 * Description:
 * Version: V1.0
 */

public interface DefectAdDao {
    ResultDataTable queryEmployeeList(int currentPage, int pageSize) throws SQLException;

    ResultDataTable defectGrade(int currentPage, int pageSize) throws SQLException ;

    int delDefectById(int newdefect_state,String defect_id)throws SQLException;


    int updateDefecttype(Defecttype defecttype) throws SQLException;
    int addDefecttype(Defecttype defecttype)throws SQLException;

    int updateGrade(String defect_grade,String task_id)throws SQLException;

    ResultDataTable querySolveTask(int currentPage, int pageSize)throws SQLException;

    int addSovle(Sovle sovle)throws SQLException;

    int updateYesNo(String sovle_task, int is_delete)throws SQLException;

    ResultDataTable queryOption()throws SQLException;

    int addSovleAccount(String sovle_account, String sovle_task)throws SQLException;
}
